<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui"
	xmlns:fn="http://java.sun.com/jsp/jstl/functions"
	xmlns:f="http://java.sun.com/jsf/core">
	<div style="padding-bottom: 6px; margin-top: 50px">
		<h:form>
			<p:menubar autoDisplay="false">
				<p:menuitem value="#{msg.menubar_title_home}"
					icon="ui-icon ui-icon-home" url="/pages/index.xhtml" />
				<p:menuitem value="NhapKho" url="/pages/nhapxuat/NhapXuatKho.xhtml" />
				<p:menuitem value="Báo Cáo" url="/pages/baocao/BaoCao.xhtml" onclick="BAOCAOBEAN.clear()" />
				<p:submenu label="#{msg.menubar_title_privilege}">
					<p:menuitem value="#{msg.menubar_title_users}"
						url="/pages/privilege/users.xhtml" />
					<p:menuitem value="#{msg.menubar_title_groups}"
						url="/pages/privilege/groups.xhtml" />
					<p:menuitem value="#{msg.menubar_title_roles}"
						url="/pages/privilege/roles.xhtml" />
				</p:submenu>
				<p:menuitem value="#{msg.menubar_title_audit}"
					url="/pages/audit/audit.xhtml" />
				<p:menuitem value="#{msg.TienIch}" url="/pages/tienIch.xhtml" />
				<p:menuitem value="#{msg.HuongDan}" url="/pages/huongDan.xhtml" />
				<p:menuitem value="#{msg.menubar_title_back}"
					onclick="history.go(-1)"
					icon="ui-icon ui-icon-arrowreturnthick-1-w" />
				<f:facet name="options">
					<p:commandButton id="aboutButton" styleClass="smallButton"
						icon="ui-icon ui-icon-notice" onclick="aboutDialogToolBar.show()" />
					<p:tooltip for="aboutButton" value="#{msg.general_about}" />
				</f:facet>
			</p:menubar>

			<p:dialog id="aboutDialogToolBar" widgetVar="aboutDialogToolBar"
				header="#{msg.general_about_header}" resizable="false"
				style="min-width:400px">
				<br />
				<h:outputText style="text-align: center" escape="false"
					value="#{msg.project_about}" />
				<br />
			</p:dialog>
		</h:form>
	</div>
</ui:composition>
